package biz.obake.team.touchprotector.f;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import androidx.appcompat.app.AppCompatViewInflater;

public class a {

    private static class b extends AppCompatViewInflater implements LayoutInflater.Factory2 {
        private b() {
        }

        public View onCreateView(View view, String str, Context context, AttributeSet attributeSet) {
            return onCreateView(str, context, attributeSet);
        }

        /* JADX WARNING: Can't fix incorrect switch cases order */
        /* Code decompiled incorrectly, please refer to instructions dump. */
        public android.view.View onCreateView(java.lang.String r2, android.content.Context r3, android.util.AttributeSet r4) {
            /*
                r1 = this;
                int r0 = r2.hashCode()
                switch(r0) {
                    case -1946472170: goto L_0x0088;
                    case -1455429095: goto L_0x007d;
                    case -1346021293: goto L_0x0072;
                    case -938935918: goto L_0x0068;
                    case -937446323: goto L_0x005e;
                    case -658531749: goto L_0x0053;
                    case -339785223: goto L_0x0049;
                    case 776382189: goto L_0x003f;
                    case 1125864064: goto L_0x0035;
                    case 1413872058: goto L_0x002a;
                    case 1601505219: goto L_0x001f;
                    case 1666676343: goto L_0x0014;
                    case 2001146706: goto L_0x0009;
                    default: goto L_0x0007;
                }
            L_0x0007:
                goto L_0x0093
            L_0x0009:
                java.lang.String r0 = "Button"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 2
                goto L_0x0094
            L_0x0014:
                java.lang.String r0 = "EditText"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 3
                goto L_0x0094
            L_0x001f:
                java.lang.String r0 = "CheckBox"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 6
                goto L_0x0094
            L_0x002a:
                java.lang.String r0 = "AutoCompleteTextView"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 9
                goto L_0x0094
            L_0x0035:
                java.lang.String r0 = "ImageView"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 1
                goto L_0x0094
            L_0x003f:
                java.lang.String r0 = "RadioButton"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 7
                goto L_0x0094
            L_0x0049:
                java.lang.String r0 = "Spinner"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 4
                goto L_0x0094
            L_0x0053:
                java.lang.String r0 = "SeekBar"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 12
                goto L_0x0094
            L_0x005e:
                java.lang.String r0 = "ImageButton"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 5
                goto L_0x0094
            L_0x0068:
                java.lang.String r0 = "TextView"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 0
                goto L_0x0094
            L_0x0072:
                java.lang.String r0 = "MultiAutoCompleteTextView"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 10
                goto L_0x0094
            L_0x007d:
                java.lang.String r0 = "CheckedTextView"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 8
                goto L_0x0094
            L_0x0088:
                java.lang.String r0 = "RatingBar"
                boolean r0 = r2.equals(r0)
                if (r0 == 0) goto L_0x0093
                r0 = 11
                goto L_0x0094
            L_0x0093:
                r0 = -1
            L_0x0094:
                switch(r0) {
                    case 0: goto L_0x00d8;
                    case 1: goto L_0x00d3;
                    case 2: goto L_0x00ce;
                    case 3: goto L_0x00c9;
                    case 4: goto L_0x00c4;
                    case 5: goto L_0x00bf;
                    case 6: goto L_0x00ba;
                    case 7: goto L_0x00b5;
                    case 8: goto L_0x00b0;
                    case 9: goto L_0x00ab;
                    case 10: goto L_0x00a6;
                    case 11: goto L_0x00a1;
                    case 12: goto L_0x009c;
                    default: goto L_0x0097;
                }
            L_0x0097:
                android.view.View r2 = r1.createView(r3, r2, r4)
                goto L_0x00dc
            L_0x009c:
                androidx.appcompat.widget.u r2 = r1.createSeekBar(r3, r4)
                goto L_0x00dc
            L_0x00a1:
                androidx.appcompat.widget.t r2 = r1.createRatingBar(r3, r4)
                goto L_0x00dc
            L_0x00a6:
                androidx.appcompat.widget.p r2 = r1.createMultiAutoCompleteTextView(r3, r4)
                goto L_0x00dc
            L_0x00ab:
                androidx.appcompat.widget.d r2 = r1.createAutoCompleteTextView(r3, r4)
                goto L_0x00dc
            L_0x00b0:
                androidx.appcompat.widget.h r2 = r1.createCheckedTextView(r3, r4)
                goto L_0x00dc
            L_0x00b5:
                androidx.appcompat.widget.s r2 = r1.createRadioButton(r3, r4)
                goto L_0x00dc
            L_0x00ba:
                androidx.appcompat.widget.g r2 = r1.createCheckBox(r3, r4)
                goto L_0x00dc
            L_0x00bf:
                androidx.appcompat.widget.m r2 = r1.createImageButton(r3, r4)
                goto L_0x00dc
            L_0x00c4:
                androidx.appcompat.widget.w r2 = r1.createSpinner(r3, r4)
                goto L_0x00dc
            L_0x00c9:
                androidx.appcompat.widget.k r2 = r1.createEditText(r3, r4)
                goto L_0x00dc
            L_0x00ce:
                androidx.appcompat.widget.f r2 = r1.createButton(r3, r4)
                goto L_0x00dc
            L_0x00d3:
                androidx.appcompat.widget.o r2 = r1.createImageView(r3, r4)
                goto L_0x00dc
            L_0x00d8:
                androidx.appcompat.widget.z r2 = r1.createTextView(r3, r4)
            L_0x00dc:
                return r2
            */
            throw new UnsupportedOperationException("Method not decompiled: biz.obake.team.touchprotector.f.a.b.onCreateView(java.lang.String, android.content.Context, android.util.AttributeSet):android.view.View");
        }
    }

    public static LayoutInflater a(Context context) {
        LayoutInflater from = LayoutInflater.from(context);
        from.setFactory2(new b());
        return from;
    }
}
